package com.aspose.cells;

public class TextBoxActiveXControl extends ActiveXControl {
   TextBoxActiveXControl(Shape shape) {
      super(shape);
      this.e = new zanp();
   }

   private zanp b() {
      return (zanp)this.e;
   }

   public int getType() {
      return 4;
   }

   int a(int var1) {
      return zanp.b(var1);
   }

   public int getBorderStyle() {
      return this.e.d & 255;
   }

   public void setBorderStyle(int value) {
      this.e.d = 1;
      this.b(1);
   }

   public int getBorderOleColor() {
      return this.e.e;
   }

   public void setBorderOleColor(int value) {
      this.e.e = value;
      this.b(2);
   }

   public int getSpecialEffect() {
      return this.e.f & 255;
   }

   public void setSpecialEffect(int value) {
      this.e.f = (byte)value;
      this.b(7);
   }

   public int getMaxLength() {
      return this.b().r;
   }

   public void setMaxLength(int value) {
      this.b().r = value;
      this.b(25);
   }

   public int getScrollBars() {
      return this.b().s & 255;
   }

   public void setScrollBars(int value) {
      this.b().s = (byte)value;
      this.b(26);
   }

   public char getPasswordChar() {
      return this.b().u;
   }

   public void setPasswordChar(char value) {
      this.b().u = value;
      this.b(28);
   }

   public boolean isEditable() {
      return this.e.a(14);
   }

   public void setEditable(boolean value) {
      this.e.a(14, value);
      this.b(14);
   }

   public boolean getIntegralHeight() {
      return this.e.a(11);
   }

   public void setIntegralHeight(boolean value) {
      this.e.a(11, value);
      this.b(14);
   }

   public boolean isDragBehaviorEnabled() {
      return this.e.a(19);
   }

   public void setDragBehaviorEnabled(boolean value) {
      this.e.a(19, value);
      this.b(14);
   }

   public boolean getEnterKeyBehavior() {
      return this.e.a(20);
   }

   public void setEnterKeyBehavior(boolean value) {
      this.e.a(20, value);
      this.b(14);
   }

   public boolean getEnterFieldBehavior() {
      return this.e.a(21);
   }

   public void setEnterFieldBehavior(boolean value) {
      this.e.a(21, value);
      this.b(14);
   }

   public boolean getTabKeyBehavior() {
      return this.e.a(22);
   }

   public void setTabKeyBehavior(boolean value) {
      this.e.a(22, value);
      this.b(14);
   }

   public boolean getHideSelection() {
      return this.e.a(29);
   }

   public void setHideSelection(boolean value) {
      this.e.a(29, value);
      this.b(14);
   }

   public boolean isAutoTab() {
      return this.e.a(30);
   }

   public void setAutoTab(boolean value) {
      this.e.a(30, value);
      this.b(14);
   }

   public boolean isMultiLine() {
      return this.e.a(31);
   }

   public void setMultiLine(boolean value) {
      this.e.a(31, value);
      this.b(14);
   }

   public boolean isAutoWordSelected() {
      return !this.e.a(27);
   }

   public void setAutoWordSelected(boolean value) {
      this.e.a(27, !value);
      this.b(14);
   }

   public boolean isWordWrapped() {
      return this.e.a(23);
   }

   public void setWordWrapped(boolean value) {
      this.e.a(23, value);
      this.b(14);
   }

   public String getText() {
      return this.b().G;
   }

   public void setText(String value) {
      this.b().G = value;
      this.a(40, value != null && !"".equals(value));
   }

   public int getDropButtonStyle() {
      return this.b().E & 255;
   }

   public void setDropButtonStyle(int value) {
      this.b().E = (byte)value;
      this.b(38);
   }

   public int getShowDropButtonTypeWhen() {
      return this.b().D & 255;
   }

   public void setShowDropButtonTypeWhen(int value) {
      this.b().D = (byte)value;
      this.b(37);
   }
}
